﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace Tunneler {
    public interface IGameObject {
        Vector2 Position { get; }
        Texture2D Texture { get; }
        Color[] TextureData { get; }
        Vector2 Origin { get; }
        float Rotation { get; }
        float TextureScale { get; }

        void LoadContent(ContentManager content);

        void Draw(SpriteBatch spriteBatch);

        void Update(GameTime gameTime);

        void TouchedBy(IGameObject actor);
        void TouchedBy(Terrain terrain);
    }
}
